go/types.Checker.allowVersion (method)
12 uses
go/types (current package)
call.go#L91: if !versionErr && !check.allowVersion(go1_21) {
call.go#L380: if n > 0 && check.allowVersion(go1_21) {
call.go#L548: if !check.allowVersion(go1_18) {
conversions.go#L206: if check == nil || check.allowVersion(go1_20) {
conversions.go#L219: if check == nil || check.allowVersion(go1_17) {
infer.go#L117: u := newUnifier(tparams, targs, check.allowVersion(go1_21))
instantiate.go#L309: if check == nil || check.allowVersion(go1_20) {
literals.go#L23: if len(s) <= 2 || check.allowVersion(go1_13) {
stmt.go#L897: return check.allowVersion(v)
typeset.go#L243: if pos.IsValid() && !check.allowVersion(go1_14) || !Identical(m.typ, other.Type()) {
version.go#L54: func (check *Checker) allowVersion(want goVersion) bool {
version.go#L61: if !check.allowVersion(v) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)